package Test1;

public class Test2 {
    private String cpu;
    private String memory;
    public String screen;
    String brand;

    public Test2(String brand,String cpu,String memory,String screen){
        this.brand = brand;
        this.cpu = cpu;
        this.memory = memory;
        this.screen = screen;
    }
    public void Boot(){
        System.out.println("开机");
    }
    public void PowerOff(){
        System.out.println("关机");
    }

    public void SurfInternet() {
        System.out.println("上网");
    }
}
